From a02a7d7d2e414f44ce07de2824f41c18679fe393 Mon Sep 17 00:00:00 2001 From: "Matteo F. Vescovi" Date: Tue, 7 Feb 2012 14:33:31 +0100 Subject: [PATCH] debian/patches/: providing patching infrastructure --- ...Fix_FTFS_previously_corrected_by_NMU.patch | 29 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 30 insertions(+) create mode 100644 debian/patches/0001-Fix_FTFS_previously_corrected_by_NMU.patch create mode 100644 debian/patches/series diff --git a/debian/patches/0001-Fix_FTFS_previously_corrected_by_NMU.patch b/debian/patches/0001-Fix_FTFS_previously_corrected_by_NMU.patch new file mode 100644 index 0000000..f008b76 --- /dev/null +++ b/debian/patches/0001-Fix_FTFS_previously_corrected_by_NMU.patch @@ -0,0 +1,29 @@ +From: "Matteo F. Vescovi" +Date: Tue, 7 Feb 2012 14:23:57 +0100 +Subject: Fix_FTFS_previously_corrected_by_NMU + +Fix "FTBFS: babl-model.c:49:7: +error: format not a string literal and +no format arguments [-Werror=format-security]" + +Closes: #643356 +Thanks: Bart Martens +Git-Dch: Short +--- + babl/babl-model.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/babl/babl-model.c b/babl/babl-model.c +index 5fd4908..16a99b2 100644 +--- a/babl/babl-model.c ++++ b/babl/babl-model.c +@@ -46,7 +46,7 @@ create_name (const char *name, + return name; + while (components--) + { +- sprintf (p, (*component)->instance.name); ++ sprintf (p, "%s", (*component)->instance.name); + p += strlen ((*component)->instance.name); + component++; + } +-- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b7ce18d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Fix_FTFS_previously_corrected_by_NMU.patch -- 2.30.2